package cn.com.itg.pojo.domain.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@Data
public class OthOutResponse implements Serializable {

    /**
     * code : 200
     * message : 操作成功
     * data : {"totalPieces":1,"code":"QTCK00000020","bustype_name":"其他出库","creatorId":1511008619286784,"memo":"备注","operator":"1895296655577344","stockMgr_name":"ww","vouchdate":"2020-09-04 00:00:00","totalQuantity":1,"natCurrency":"G001ZM0000DEFAULTCURRENCT00000000001","id":1915994668355840,"org_name":"仓储中心-北京","department":"1511058386784512","pubts":"2020-09-15 12:10:34","createDate":"2020-09-15 12:10:34","creator":"YS测试1","org":"1511042233094400","department_name":"仓储中心-北京","othOutRecords":[{"product_cCode":"fl010003","hasDefaultInit":true,"isExpiryDateManage":"0","stockUnitId_Precision":"3","id":1915994668355841,"mainid":1915994668355840,"modelDescription":"45#","invExchRate":1,"stockUnitId":1511083492184320,"productsku_cName":"物料名称01","isBatchManage":"0","rowno":1,"product":1511111502991616,"stockUnit_name":"个数","subQty":1,"product_cName":"物料名称01","warehouseMaterialCheckRule":"1","isSerialNoManage":"0","product_model":"45#","recorddate":"2020-09-04 00:00:00","unit_name":"个数","taxRate":0,"unit":1511083492184320,"productsku":1511111509479680,"productsku_cCode":"fl010003","unit_Precision":"3","qty":1,"product_unitName":"个数","unitExchangeType":0,"othInRecordsSNs":[{"id":0,"sn":"","pubts":""}]}],"accountOrg":"1511040517705984","stockMgr":"1889146172363008","warehouse":1891840486495232,"warehouse_iSerialManage":false,"bustype":"110000000000013","operator_name":"采购人员01","warehouse_name":"华东仓","natCurrency_moneyDigit":"2","natCurrency_priceDigit":"7","createTime":"2020-09-15 12:10:34","accountOrg_name":"yontest云创股份","status":0,"tenant":1511008618713344}
     */

    private int code;
    private String message;
    private DataBean data;

    @NoArgsConstructor
    @Data
    public static class DataBean implements Serializable{
        /**
         * totalPieces : 1
         * code : QTCK00000020
         * bustype_name : 其他出库
         * creatorId : 1511008619286784
         * memo : 备注
         * operator : 1895296655577344
         * stockMgr_name : ww
         * vouchdate : 2020-09-04 00:00:00
         * totalQuantity : 1
         * natCurrency : G001ZM0000DEFAULTCURRENCT00000000001
         * id : 1915994668355840
         * org_name : 仓储中心-北京
         * department : 1511058386784512
         * pubts : 2020-09-15 12:10:34
         * createDate : 2020-09-15 12:10:34
         * creator : YS测试1
         * org : 1511042233094400
         * department_name : 仓储中心-北京
         * othOutRecords : [{"product_cCode":"fl010003","hasDefaultInit":true,"isExpiryDateManage":"0","stockUnitId_Precision":"3","id":1915994668355841,"mainid":1915994668355840,"modelDescription":"45#","invExchRate":1,"stockUnitId":1511083492184320,"productsku_cName":"物料名称01","isBatchManage":"0","rowno":1,"product":1511111502991616,"stockUnit_name":"个数","subQty":1,"product_cName":"物料名称01","warehouseMaterialCheckRule":"1","isSerialNoManage":"0","product_model":"45#","recorddate":"2020-09-04 00:00:00","unit_name":"个数","taxRate":0,"unit":1511083492184320,"productsku":1511111509479680,"productsku_cCode":"fl010003","unit_Precision":"3","qty":1,"product_unitName":"个数","unitExchangeType":0,"othInRecordsSNs":[{"id":0,"sn":"","pubts":""}]}]
         * accountOrg : 1511040517705984
         * stockMgr : 1889146172363008
         * warehouse : 1891840486495232
         * warehouse_iSerialManage : false
         * bustype : 110000000000013
         * operator_name : 采购人员01
         * warehouse_name : 华东仓
         * natCurrency_moneyDigit : 2
         * natCurrency_priceDigit : 7
         * createTime : 2020-09-15 12:10:34
         * accountOrg_name : yontest云创股份
         * status : 0
         * tenant : 1511008618713344
         */

        private int totalPieces;
        private String code;
        private String bustype_name;
        private long creatorId;
        private String memo;
        private String operator;
        private String stockMgr_name;
        private String vouchdate;
        private int totalQuantity;
        private String natCurrency;
        private long id;
        private String org_name;
        private String department;
        private String pubts;
        private String createDate;
        private String creator;
        private String org;
        private String department_name;
        private String accountOrg;
        private String stockMgr;
        private long warehouse;
        private boolean warehouse_iSerialManage;
        private String bustype;
        private String operator_name;
        private String warehouse_name;
        private String natCurrency_moneyDigit;
        private String natCurrency_priceDigit;
        private String createTime;
        private String accountOrg_name;
        private int status;
        private long tenant;
        private List<OthOutRecordsBean> othOutRecords;

        @NoArgsConstructor
        @Data
        public static class OthOutRecordsBean implements Serializable{
            /**
             * product_cCode : fl010003
             * hasDefaultInit : true
             * isExpiryDateManage : 0
             * stockUnitId_Precision : 3
             * id : 1915994668355841
             * mainid : 1915994668355840
             * modelDescription : 45#
             * invExchRate : 1
             * stockUnitId : 1511083492184320
             * productsku_cName : 物料名称01
             * isBatchManage : 0
             * rowno : 1
             * product : 1511111502991616
             * stockUnit_name : 个数
             * subQty : 1
             * product_cName : 物料名称01
             * warehouseMaterialCheckRule : 1
             * isSerialNoManage : 0
             * product_model : 45#
             * recorddate : 2020-09-04 00:00:00
             * unit_name : 个数
             * taxRate : 0
             * unit : 1511083492184320
             * productsku : 1511111509479680
             * productsku_cCode : fl010003
             * unit_Precision : 3
             * qty : 1
             * product_unitName : 个数
             * unitExchangeType : 0
             * othInRecordsSNs : [{"id":0,"sn":"","pubts":""}]
             */

            private String product_cCode;
            private boolean hasDefaultInit;
            private String isExpiryDateManage;
            private String stockUnitId_Precision;
            private long id;
            private long mainid;
            private String modelDescription;
            private int invExchRate;
            private long stockUnitId;
            private String productsku_cName;
            private String isBatchManage;
            private int rowno;
            private long product;
            private String stockUnit_name;
            private int subQty;
            private String product_cName;
            private String warehouseMaterialCheckRule;
            private String isSerialNoManage;
            private String product_model;
            private String recorddate;
            private String unit_name;
            private int taxRate;
            private long unit;
            private long productsku;
            private String productsku_cCode;
            private String unit_Precision;
            private int qty;
            private String product_unitName;
            private int unitExchangeType;
            private List<OthInRecordsSNsBean> othInRecordsSNs;

            @NoArgsConstructor
            @Data
            public static class OthInRecordsSNsBean implements Serializable{
                /**
                 * id : 0
                 * sn :
                 * pubts :
                 */

                private int id;
                private String sn;
                private String pubts;
            }
        }
    }
}
